# File: cdflib_namedtuple.py
"""
This file defines named tuple for cdflib.
"""

import collections
VarInfo = collections.namedtuple('VarInfo', 
                                 [
                                     'blockingFactor',        
                                     'dataType',
                                     'varMaxRecAlloc',
                                     'varMaxRec',
                                     'numAllocRecords',
                                     'numDims',
                                     'numElements',
                                     'numRecords',
                                     'recVary',
                                     'dimSizes',
                                     'dimVarys',
                                 ])

DataStats = collections.namedtuple('DataStats', 
                                   [
                                    'n_zVars',
                                    'n_rVars',
                                    'n_Attrs',
                                    'n_gAttrs',
                                    'n_vAttrs',
                                   ])

FileInfo = collections.namedtuple('FileInfo', 
                                  [
                                    'version',
                                    'copyright',
                                    'compression_mode',
                                    'checksum_mode',
                                    'encoding_mode',
                                    'file_format',
                                    'array_majority',
                                  ])
